/*
 * @Date: 2022-11-29 14:14:39
 * @LastEditors: sailornpg
 * @LastEditTime: 2022-11-29 14:28:05
 * @FilePath: \vue-admin-ts\src\views\main\system\menu\options.ts
 * @Description: options
 */
import { TableOptions } from "@/components/Table/type/type";

export const menuTableOptions: TableOptions[] = [
  {
    prop: "name",
    label: "名称",
  },
  {
    prop: "type",
    label: "类型",
  },
  {
    prop: "url",
    label: "菜单url",
  },
  {
    prop: "icon",
    label: "菜单icon",
  },
  {
    prop: "permission",
    label: "按钮权限",
  },
  {
    prop: "createAt",
    label: "创建时间",
    align: "center",
    slot: "createAt",
  },
  {
    prop: "updateAt",
    label: "更新时间",
    align: "center",
    slot: "updateAt",
  },

  {
    prop: "operation",
    slot: "operation",
    label: "操作",
    align: "center",
    action: true,
  },
];
